a=[x for x in range(10)]
print(a)        ## [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

b=[x**2 for x in range(5)]
print(b)       ## [0, 1, 4, 9, 16]

c=[(x+1 ,y+1) for x in range(3) for y in range(2)]
print(c)       ## [(1, 1), (1, 2), (2, 1), (2, 2), (3, 1), (3, 2)]

d=[
    x**2
    for x in range(10)
    if x**2 < 30
]
print(d)